import request from "../../request.js";
// 个人动态列表
export const myDynamicList = (params)=>{
	return request.post('/app/dynamic/list',params)
}
// 发布动态
export const pushDynamic = (params)=>{
	return request.post('/app/dynamic/publish',params)
} 
// 收藏动态
export const collectDynamic = (params)=>{
	return request.post('/app/dynamic/collect',params)
}
// 我的收藏列表
export const myCollectList = (params)=>{
	return request.post('/app/dynamic/collect/list',params)
}
// 动态详情
export const getDynamicDetails = (id)=>{
	return request.get(`/app/dynamic/get/${id}`)
}
// 获取当前登录用户动态列表
export const myLoginDynamicList = (params)=>{
	return request.post('/app/dynamic/my/list',params)
}
// 删除动态
export const delDynamic = (id)=>{
	return request.delete(`/app/dynamic/${id}`)
}
// 隐藏动态
export const hideDynamic = (params)=>{
	return request.post('/app/dynamic/update/status', params)
}